package demoMod.stsconsole.commands;

import demoMod.stsconsole.enums.ErrType;

import java.util.Scanner;

public abstract class AbstractCommand {
    public abstract void execute(String[] args, Scanner sc);

    public abstract boolean requiredPrompt(String currentPrompt);

    public void errMsg(ErrType errType) {
        System.err.println("ERROR");
        System.err.println("Cause: " + errType.name());
        System.out.println();
    }
}
